QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    cbottomctrlbar.cpp \
    cframelesswidget.cpp \
    cmainwindow.cpp \
    cplaybuttongroupwidget.cpp \
    cplaylist.cpp \
    cprogressbar.cpp \
    ctitlebar.cpp \
    cvideowidget.cpp \
    cvolumebutton.cpp \
    cvolumedialog.cpp \
    main.cpp \
    vlckits.cpp

HEADERS += \
    cbottomctrlbar.h \
    cframelesswidget.h \
    cmainwindow.h \
    cplaybuttongroupwidget.h \
    cplaylist.h \
    cprogressbar.h \
    ctitlebar.h \
    cvideowidget.h \
    cvolumebutton.h \
    cvolumedialog.h \
    qss.h \
    vlckits.h

FORMS += \
    widget.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

INCLUDEPATH += ./vlc-3.0.8/sdk/include
LIBS += $$PWD/vlc-3.0.8/sdk/lib/libvlc.lib
LIBS += $$PWD/vlc-3.0.8/sdk/lib/libvlccore.lib

DISTFILES += \
    resources/logo.png \
    resources/logo1.png \
    resources/titlebar/close.svg \
    resources/titlebar/close_hover.svg \
    resources/titlebar/logo1.png \
    resources/titlebar/max.svg \
    resources/titlebar/max_hover.svg \
    resources/titlebar/min.svg \
    resources/titlebar/min_hover.svg \
    resources/titlebar/normal.svg \
    resources/titlebar/normal_hover.svg \
    resources/titlebar/set.svg \
    resources/titlebar/set_hover.svg \
    resources/titlebar/title_icon.png \
    titlebar/resources/titleBar/close.svg \
    titlebar/resources/titleBar/close_hover.svg \
    titlebar/resources/titleBar/down_arrow.svg \
    titlebar/resources/titleBar/max.svg \
    titlebar/resources/titleBar/max_hover.svg \
    titlebar/resources/titleBar/min.svg \
    titlebar/resources/titleBar/min_hover.svg \
    titlebar/resources/titleBar/minimode.svg \
    titlebar/resources/titleBar/minimode_hover.svg \
    titlebar/resources/titleBar/normal.svg \
    titlebar/resources/titleBar/normal_hover.svg \
    titlebar/resources/titleBar/settop.svg \
    titlebar/resources/titleBar/settop_hover.svg \
    titlebar/resources/titleBar/up_arrow.svg

RESOURCES += \
    resources.qrc \
    resources.qrc
